const main = require('../main/main');
let number = main;
describe('main()', () => {

    it('数字都猜错',() =>{
        let expected = '0A0B';
        let result = number('1234');
        expect(result).toEqual(expected);
    });

    it('数字和顺序',() =>{
        let expected = '2A3B';
        let result = number('1234');
        expect(result).toEqual(expected);
    })
});